Micron Document




MySQL Connector/ODBC
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
MySQL Connector/ODBC (formerly MyODBC) is an ODBC driver developed by Oracle Corporation for connecting ODBC-enabled applications to MySQL databases.cite-ref-intro-1-0[1] It was originally created by MySQL AB and has been maintained by Oracle since the acquisition of Sun Microsystems in 2010.cite-ref-history-2-0[2]

Contents


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Overview

MySQL Connector/ODBC enables any application supporting ODBC—including business intelligence tools, office suites, custom applications, and legacy systems—to access, query, and manage MySQL databases using the ODBC interface.cite-ref-intro-1-1[1]cite-ref-hevo-3-0[3]

Platform support and installation

MySQL Connector/ODBC is available for Microsoft Windows, Linux, macOS, and other Unix-like systems.cite-ref-platforms-4-0[4] Both 32-bit and 64-bit builds are provided, depending on the system and application requirements.cite-ref-release8-5-0[5]

The official downloads and detailed installation instructions are provided by Oracle.cite-ref-downloads-6-0[6] Step-by-step installation guides, including for Windows, are available from Informatica and Hevo Data.cite-ref-informatica-7-0[7]cite-ref-hevo-3-1[3]cite-ref-pcffm-8-0[8]

Configuration and usage

Connector/ODBC supports multiple configuration approaches:

• System DSNs, user DSNs, and file DSNs are supported on all platforms.cite-ref-dsn-9-0[9]
• DSN-less connections (using full connection strings) are widely used.cite-ref-params-10-0[10]
• Configuration for DSNs on Windows and macOS is described in official documentation.cite-ref-dsnwin-11-0[11]cite-ref-dsnmac-12-0[12]
• Connection pooling, authentication options, and example usages are extensively documented.cite-ref-pooling-13-0[13]cite-ref-auth-14-0[14]cite-ref-examples-15-0[15]cite-ref-pcffm-8-1[8]

Technical features

• Compliance with ODBC 3.51 and 3.8 specifications, partial ODBC 4.x support.cite-ref-standards-16-0[16]
Unicode and ANSI driver variants for Windows, only Unicode for Unix-like systems.cite-ref-intro-1-2[1]
• Full support for transactions, savepoints, and rollbacks.cite-ref-transactions-17-0[17]
• Client-side and server-side prepared statements.cite-ref-prepstmt-18-0[18]
• Native access to MySQL data types, including JSON, BLOB, geometry, BIT.cite-ref-types-19-0[19]
• Authentication plugins and SSL/TLS encryption for secure connections.cite-ref-auth-14-1[14]
• Bulk operations, streaming, connection pooling.cite-ref-pooling-13-1[13]
• Diagnostics, logging, error codes for troubleshooting.cite-ref-troubleshooting-20-0[20]cite-ref-errorcodes-21-0[21]
• An API reference is maintained online.cite-ref-apiref-22-0[22]

Version history

A detailed official changelog and history is maintained by Oracle.cite-ref-versionhistory-23-0[23]

MyODBC 2.50/2.51: ANSI, MySQL 3.x
3.51: ANSI-only, ODBC 3.51 compliance
5.1–5.3: Unicode/ANSI, ODBC 3.8, 64-bit, DSN file support
8.0+: MySQL 8.0+ support, modern authentication, renewed 32-bit support (from 8.0.35)
9.x: Latest releases (as of July 2025: 9.3.0), MySQL 8.x and 9.x

Practical integration and use cases

MySQL Connector/ODBC is commonly used for:

• Office integration (Excel, Access)
• Business Intelligence (Tableau, Crystal Reports, Power BI)cite-ref-pcffm-8-2[8]
• ETL and migration between databases
• Application development in C, C++, Python, Java, .NET, PHP, and more
• Legacy system and cross-platform deploymentscite-ref-hevo-3-2[3]

Practical deployment scenarios, configuration advice, and troubleshooting are available in [third-party technical articles].cite-ref-pcffm-8-3[8]cite-ref-informatica-7-1[7]cite-ref-hevo-3-3[3]

Troubleshooting and maintenance

Comprehensive troubleshooting and debugging guidance, including error code lists and reporting bugs, are part of the official documentation.cite-ref-troubleshooting-20-1[20]cite-ref-errorcodes-21-1[21]cite-ref-bugreport-24-0[24]

See also

MySQL
JDBC
• ODBC Data Source Administrator

References

cite-note-intro-11. "Introduction to MySQL Connector/ODBC". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-history-22. "MySQL Connector/ODBC History". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-hevo-33. "MySQL ODBC Connector: Overview, Features & Installation". Hevo Data. Hevo. Retrieved 2025-07-14.
cite-note-platforms-44. "Connector/ODBC Platforms". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-release8-55. "Connector/ODBC Release Notes". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-downloads-66. "MySQL Connector/ODBC downloads". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-informatica-77. "Installing MySQL ODBC Driver on Windows". Informatica. Informatica. Retrieved 2025-07-14.
cite-note-pcffm-88. "MySQL Connector/ODBC in Practice: Installation, Configuration, and Integration". pcffm.de. Meroth IT-Service. Retrieved 2025-07-14.
cite-note-dsn-99. "Data Source Names". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-params-1010. "Connector/ODBC Connection Parameters". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-dsnwin-1111. "Configuring a Connector/ODBC DSN on Windows". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-dsnmac-1212. "Configuring a Connector/ODBC DSN on macOS". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-pooling-1313. "ODBC Connection Pooling". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-auth-1414. "Authentication Options". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-examples-1515. "Connector/ODBC Examples". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-standards-1616. "ODBC Standards Support". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-transactions-1717. "ODBC Transactions". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-prepstmt-1818. "Server-Side Prepared Statements". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-types-1919. "Connector/ODBC Data Types". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-troubleshooting-2020. "Troubleshooting and Debugging". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-errorcodes-2121. "Connector/ODBC Error Codes". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-apiref-2222. "Connector/ODBC API Reference". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-versionhistory-2323. "Connector/ODBC Version History". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.
cite-note-bugreport-2424. "How to Report Connector/ODBC Problems or Bugs". MySQL Developer Zone. Oracle Corporation. Retrieved 2025-07-14.

External links

• MySQL Connector/ODBC downloads
• Connector/ODBC Developer Guide
• Connector/ODBC Release Notes
• Connector/ODBC Connection Parameters
• Configuring a Connector/ODBC DSN on Windows
• Configuring a Connector/ODBC DSN on macOS
• ODBC Connection Pooling
• Authentication Options
• Connector/ODBC Examples
• Connector/ODBC API Reference
• Connector/ODBC Data Types
• Connector/ODBC Error Codes
• How to Report Connector/ODBC Problems or Bugs
• Connector/ODBC Version History
• Installing MySQL ODBC Driver on Windows (Informatica)
• MySQL ODBC Connector: Overview, Features & Installation
• MySQL Connector/ODBC in Practice: Installation, Configuration, and Integration